/**
 * Title: BaseService.java
 * Description:
 * Copyright: Copyright (c) 2008
 * Company:深圳彩讯科技有限公司
 * Author 罗旭东 (hi@luoxudong.com)
 * Date 2014-1-9 下午10:02:42
 * Version 1.0
 */
package com.luoxudong.phonenumber.logic.common;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import com.luoxudong.phonenumber.service.utils.EvtLog;

/** 
 * ClassName: BaseService
 * Description:TODO(这里用一句话描述这个类的作用)
 * Create by 罗旭东
 * Date 2014-1-9 下午10:02:42
 */
public class BaseService extends Service{
	private static final String TAG = "ThinkDriveService";
	private boolean isExit = false;
	public static boolean isInitService = false;
	
	
	@Override
	public void onCreate() {
		EvtLog.i(TAG, "正在启动服务...");
		super.onCreate();
	}
	
	@Override
	public void onStart(Intent intent, int startId) {
		if (isExit)
		{
			isExit = false;
		}
		
		super.onStart(intent, startId);
		isInitService = true;
	}

	@Override
	public void onDestroy() {
		super.onDestroy();
	}

	@Override
	public IBinder onBind(Intent intent) {
		return null;
	}
}
